package com.xioz.android;
import com.badlogic.gdx.Game;

public class SurivalGameScreen extends WordGameScreen {
	
	private float TILE_TIME_LIMIT = 10000;
	private int MAX_TILES = 63;

	public SurivalGameScreen() {
		super();
	}
	
	public SurivalGameScreen(Game inGame) {
		super();
	}
	
	public void render(float delta) {
		draw();
		update();
	}
	
	protected void draw() {
		super.draw();
		printBoard("Points:" + pointScore , 20, 79);
	}
	
	protected void update() {
		super.update();
		if (gameTimer.getTime() >= TILE_TIME_LIMIT ) {
			super.addTiles(3);
			gameTimer.reset();
		}
		if (!super.notFull) {
			super.loseGame();
		}
	}
}
